%option noyywrap
%{
   #include<iostream>
   #include<set>
   #include<string>
   using namespace std;
   int count=0;
   int uniq=0;
   set<string> table;
%}
digit [0-9]
number {digit}+(\.{digit}+)?(E[+/-]?{digit}+)?
%%
^[0-9]{9}  {printf("201492208");}
NAME$ {printf("CZY");}
{number} {printf("%.f",0.5+atof(yytext)*2+201492208);table.insert(yytext);count++;}
. {ECHO;}
%%

int main()
{
     yylex();
     cout<<"total number: "<<count<<" after remove the same numbers: "<<table.size();
     return 0;  
}

